Feature: Test de autenticación de usuario
File name: login.feature
Relative path: features/login.feature
And
Usuario ingresa el username as "terronesbohorquezalexander@gmail.com"
00:00:30.381
+ Show Error
+ Screenshot
locator.fill: Timeout 30000ms exceeded.
=========================== logs ===========================
waiting for locator('input[name=\'login[username]\']')
============================================================
at World.(anonymous) (C:\MERCADOLIBRE PLAYWRIGHT\src\test\steps\loginSteps.ts:95:118)
at step (C:\MERCADOLIBRE PLAYWRIGHT\src\test\steps\loginSteps.ts:33:23)
at Object.next (C:\MERCADOLIBRE PLAYWRIGHT\src\test\steps\loginSteps.ts:14:53)
at C:\MERCADOLIBRE PLAYWRIGHT\src\test\steps\loginSteps.ts:8:71
at __awaiter (C:\MERCADOLIBRE PLAYWRIGHT\src\test\steps\loginSteps.ts:4:12)
at World.(anonymous) (C:\MERCADOLIBRE PLAYWRIGHT\src\test\steps\loginSteps.ts:92:12)
When
Usuario hace click en el boton de continuar
0s
// With Callbacks
When (/^Usuario hace click en el boton de continuar$/, (callback) => {
// Write code here that turns the phrase above into concrete actions
callback(null, 'pending');
});
// With Promises
When (/^Usuario hace click en el boton de continuar$/, () => {
// Write code here that turns the phrase above into concrete actions
return Promise.resolve('pending');
});
And
Usuario ingresa el password as "Tata2022"
0s
// With Callbacks
And (/^Usuario ingresa el password as "([^"]*)"$/, (arg1, callback) => {
// Write code here that turns the phrase above into concrete actions
callback(null, 'pending');
});
// With Promises
And (/^Usuario ingresa el password as "([^"]*)"$/, (arg1, ) => {
// Write code here that turns the phrase above into concrete actions
return Promise.resolve('pending');
});
When
Usuario hace click en el boton de login
0s
// With Callbacks
When (/^Usuario hace click en el boton de login$/, (callback) => {
// Write code here that turns the phrase above into concrete actions
callback(null, 'pending');
});
// With Promises
When (/^Usuario hace click en el boton de login$/, () => {
// Write code here that turns the phrase above into concrete actions
return Promise.resolve('pending');
});
Then
Logueo deberia ser satisfactorio
0s
// With Callbacks
Then (/^Logueo deberia ser satisfactorio$/, (callback) => {
// Write code here that turns the phrase above into concrete actions
callback(null, 'pending');
});
// With Promises
Then (/^Logueo deberia ser satisfactorio$/, () => {
// Write code here that turns the phrase above into concrete actions
return Promise.resolve('pending');
});